const warehouseRouter = {
    path:'warehouse',
    rName:'仓库管理',
    component:'warehouse',
    children:[
        {
            path:'chart',
            rName:'信息展示',
            component:'warehouse/chart',
            redirect:'chart/display',
            hasChild:false,
            children:[
                {
                    path:'display',
                    rName:'数据图表',
                    component:'warehouse/chart/display'
                }
            ]
        },
        {
            path:'basic',
            rName:'基础管理',
            component:'warehouse/basic',
            hasChild:true,
            children:[
                {
                    path:'parts',
                    rName:'零部件管理',
                    component:'warehouse/basic/parts',
                    isHidden:false
                },
                {
                    path:'goods',
                    rName:'货架管理',
                    component:'warehouse/basic/goods',
                    isHidden:false
                },
                {
                    path:'qrcode',
                    rName:'条形码',
                    component:'warehouse/basic/qrcode',
                    isHidden:false
                }
            ]
        },
        {
            path:'encode',
            rName:'编码管理',
            component:'warehouse/encode',
            hasChild:false
        },
        {
            path:'stock',
            rName:'库存管理',
            component:'warehouse/stock',
            hasChild:true,
            children:[
                {
                    path:'output',
                    rName:'出库管理',
                    component:'warehouse/stock/output',
                    isHidden:false
                },
                {
                    path:'input',
                    rName:'入库管理',
                    component:'warehouse/stock/input',
                    isHidden:false
                },
                {
                    path:'refund',
                    rName:'退货管理',
                    component:'warehouse/stock/refund',
                    isHidden:false
                },
                {
                    path:'parts',
                    rName:'零配件调拨',
                    component:'warehouse/stock/parts',
                    isHidden:false
                },
                {
                    path:'check',
                    rName:'盘点管理',
                    component:'warehouse/stock/check',
                    isHidden:false
                },
                {
                    path:'claim',
                    rName:'索赔管理',
                    component:'warehouse/stock/claim',
                    isHidden:false
                }
            ]
        },
        {
            path:'purchase',
            rName:'采购(询价/竞价)管理',
            component:'warehouse/purchase',
            hasChild:true,
            children:[
                {
                    path:'enquiry',
                    rName:'询价信息',
                    component:'warehouse/purchase/enquiry',
                    isHidden:false
                },
                {
                    path:'bid',
                    rName:'竞价信息',
                    component:'warehouse/purchase/bid',
                    isHidden:false
                },
                {
                    path:'evaluation',
                    rName:'评标专家库',
                    component:'warehouse/purchase/evaluation',
                    isHidden:false
                },
                {
                    path:'expert',
                    rName:'专家抽取',
                    component:'warehouse/purchase/expert',
                    isHidden:false
                },
                {
                    path:'build',
                    rName:'采购单生成',
                    component:'warehouse/purchase/build',
                    isHidden:false
                },
                {
                    path:'audit',
                    rName:'采购单审核',
                    component:'warehouse/purchase/audit',
                    isHidden:false
                },
            ]
        },
        {
            path:'contract',
            rName:'合同管理',
            component:'warehouse/contract',
            hasChild:false,
            redirect:'contract/list',
            children:[
                {
                    path:'list',
                    rName:'合同管理列表',
                    component:'warehouse/contract/list',
                    isHidden:true
                }
            ]
        },
        {
            path:'supplier',
            rName:'供应商管理',
            component:'warehouse/supplier',
            hasChild:true,
            children:[
                {
                    path:'info',
                    rName:'供应商信息',
                    component:'warehouse/supplier/info',
                    isHidden:false
                },
                {
                    path:'classify',
                    rName:'供应商分类',
                    component:'warehouse/supplier/classify',
                    isHidden:false
                },
                {
                    path:'apply',
                    rName:'供应商申请',
                    component:'warehouse/supplier/apply',
                    isHidden:false
                },
                {
                    path:'evaluate',
                    rName:'供应商评价',
                    component:'warehouse/supplier/evaluate',
                    isHidden:false
                },
                {
                    path:'memo',
                    rName:'供应商备忘录',
                    component:'warehouse/supplier/memo',
                    isHidden:false
                },
                {
                    path:'weekout',
                    rName:'供应商淘汰',
                    component:'warehouse/supplier/weekout',
                    isHidden:false
                }
            ]
        },
        {
            path:'analyze',
            rName:'统计分析',
            component:'warehouse/analyze',
            hasChild:false,
            redirect:'analyze/info',
            children:[
                {
                    path:'info',
                    rName:'分析列表',
                    component:'warehouse/analyze/info',
                    isHidden:true
                }
            ]
        }
    ]
}

export default warehouseRouter